<template>
    <div>
        <group-title>confirm</group-title>
        <group>
            <cell @click="showHandle(false)">
                <icon class="text-muted" name="question-circle-o" left size="lg" />
                confirm
            </cell>
            <cell @click="showHandle(true)">
                <icon class="text-muted" name="exchange" left size="lg" />
                inverseBtn
            </cell>
        </group>
    </div>
</template>

<script>
    export default {
        methods: {
            showHandle(inverseBtn) {
                this.$confirm({
                    inverseBtn,
                    message: '这是Vue 2.0组件库！',
                });
            },
        },
    };
</script>
